toObject

open override fun <T> toObject(valueType: Class<T>): T(source)

Deprecated (with error)

Replace with

import com.google.firebase.serialization.toObject
toObject<T>()

open override fun <T> toObject(valueType: Class<T>, serverTimestampBehavior: DocumentSnapshot.ServerTimestampBehavior): T(source)

Deprecated (with error)

Replace with

import com.google.firebase.serialization.toObject
toObject<T>(serverTimestampBehavior)